<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/main.css">
    <style>
        header {
            background-image: url(./img/img1.jpg);
        }

        main {
            background-color: transparent;
        }

        .title {
            font-size: 24px;
            margin: 16px;
            border-left: 5px solid rgba(25, 226, 183, 0.63);
            padding-left: 10px;
            margin-top: 60px;
        }

        .apply {
            margin: 16px;
        }

        .apply .text-title {
            font-size: 20px;
            margin-top: 30px;
        }

        pre {
            border-radius: 3px;
            background-color: #f7f7f7;
            color: inherit;
            line-height: 1.7em;
            overflow: auto;
            padding: 6px 10px;
            font-size: 14px;
            margin: 16px;
        }

        .link-list {
            padding: 10px;
            width: 100%;
            flex-wrap: wrap;
            justify-content: start;
        }

        .link-list .item {
            width: 31.5%;
            height: 120px;
            border-radius: 20px;
            margin: 6px;
            padding: 16px;
            border: 1px solid rgba(119, 119, 119, 0.7);
            position: relative;
            overflow: hidden;
        }

        .link-list .item::after {
            content: "";
            display: block;
            width: 200%;
            height: 300%;
            background-color: rgba(54, 243, 218, 0.16);
            position: absolute;
            transform: rotate(45deg) translate(-60%);
            top: 550px;
            transition: top .5s;
            left: 0;
            z-index: -1;
        }

        .link-list .item:hover::after {
            top: 80px;
        }

        .link-list .item .profile {
            height: 120px;
            width: 120px;
            position: absolute;
            top: 0;
            right: 0;
            overflow: hidden;
            padding: 14px;
        }

        .link-list .item .profile img {
            height: 100%;
            border-radius: 50%;
            border: 3px solid rgba(119, 119, 119, 0.3);
            padding: 2px;
            display: block;
            object-fit: cover;
            transform: rotate(0deg);
            overflow: hidden;
            transition: transform ease-in-out 1s;
        }

        .link-list .item .profile a {
            display: block;
            width: 100%;
            height: 100%;
        }

        .link-list .item:hover img {
            transform: rotate(360deg);
        }

        .link-list .item .text {
            margin-left: 4px;
            margin-right: 85px;
            margin-top: 4px;
        }

        .link-list .item hr {
            width: 100%;
            border: none;
            height: 1px;
            border-bottom: 1px solid rgba(68, 68, 68, 0.15);
        }

        .site-name {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .info {
            font-size: 13px;
            color: #777;
            margin-top: 10px;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

        @media (max-width:420px) {
            .link-list .item{
                width: 100%;
            }
        }
    </style>
    <title>友链</title>
</head>

<body>
    <header>
        <nav class="nav-top top-show">
            <div id="logo">
                <a href="./index.html">
                    暗天使
                </a>
            </div>
            <div class="menu">
                <i class="iconfont icon-menu"></i>
            </div>
            <div class="nav">
                <a href="index.html" class="item">首页</a>
                <a href="./list.html" class="item">文章</a>
                <a href="./archives.html" class="item">足迹</a>
                <a href="./links.html" class="item">友链</a>
                <a href="about.html" class="item">关于</a>
            </div>
            <div class="search">
                <a href="#">
                    <i class="iconfont icon-31sousuo"></i>
                    <!-- <img src="./img/icon/搜索_填充.png" alt=""> -->
                </a>
                <div class="search-box ">
                    <div class="quit">
                        <a href="#">
                            关闭
                        </a>
                    </div>
                    <form action="./search.html">
                        <input required type="text" name="q" id="" placeholder="想要找点什么呢？">
                        <input type="submit" value="搜索">
                    </form>
                </div>
            </div>
        </nav>
        <div class="container-flex">
            <div class="box">
                <div class="h1">友链</div>
            </div>
        </div>
    </header>

    <main class="container">
        <div class="title">
            交换友链规则：
        </div>
        <div class="apply">
            <div class="text-title">
                请各位大佬按照下面的格式书写发送到我的 Email 哦!
            </div>
            <pre>
    站点名称：暗天使
    站点地址：https://localhost
    站点描述：一个普通的小博客哦~
    站点图像：https://localhost/img/img.jpg</pre>
        </div>

        <div class="title">
            我的小伙伴们：
        </div>
        <div class="container-flex link-list">
            <div class="item">
                <div class="profile">
                    <a href="https://blog.antianshi.xyz/">
                        <img src="./img/bg1.jpg" alt="">
                    </a>
                </div>
                <div class="text">
                    <div class="site-name">
                        <a href="https://blog.antianshi.xyz/">
                            暗天使 
                        </a>
                    </div>
                    <hr>
                    <div class="info">
                        学习时的痛苦是暂时的 未学到的痛苦是终生的
                    </div>
                </div>
            </div>
            <div class="item">
                <div class="profile">
                    <a href="#">
                        <img src="./img/a.jpg" alt="">
                    </a>
                </div>
                <div class="text">
                    <div class="site-name">
                        <a href="#">
                            暗天使 暗天使
                        </a>
                    </div>
                    <hr>
                    <div class="info">
                        Lorem ipsum dolor sit amet consectetur adipisicing elit.
                    </div>
                </div>
            </div>
            <div class="item">
                <div class="profile">
                    <a href="#">
                        <img src="./img/b.jpg" alt="">
                    </a>
                </div>
                <div class="text">
                    <div class="site-name">
                        <a href="#">
                            暗天使 暗天使
                        </a>
                    </div>
                    <hr>
                    <div class="info">
                        Lorem ipsum dolor sit amet consectetur adipisicing elit.
                    </div>
                </div>
            </div>
            <div class="item">
                <div class="profile">
                    <a href="#">
                        <img src="./img/c.jpg" alt="">
                    </a>
                </div>
                <div class="text">
                    <div class="site-name">
                        <a href="#">
                            暗天使 暗天使
                        </a>
                    </div>
                    <hr>
                    <div class="info">
                        Lorem ipsum dolor sit amet consectetur adipisicing elit.
                    </div>
                </div>
            </div>
            <div class="item">
                <div class="profile">
                    <a href="#">
                        <img src="./img/bg1.jpg" alt="">
                    </a>
                </div>
                <div class="text">
                    <div class="site-name">
                        <a href="#">
                            暗天使 暗天使
                        </a>
                    </div>
                    <hr>
                    <div class="info">
                        Lorem ipsum dolor sit amet consectetur adipisicing elit.
                    </div>
                </div>
            </div>
            <div class="item">
                <div class="profile">
                    <a href="#">
                        <img src="./img/d.jpg" alt="">
                    </a>
                </div>
                <div class="text">
                    <div class="site-name">
                        <a href="#">
                            暗天使 暗天使
                        </a>
                    </div>
                    <hr>
                    <div class="info">
                        Lorem ipsum dolor sit amet consectetur adipisicing elit.
                    </div>
                </div>
            </div>


        </div>

        <footer>
            footer Lorem ipsum, dolor sit amet consectetur adipisicing elit. Libero, distinctio commodi?
            Voluptatem
            asperiores dicta, excepturi corporis r molestiae iste veniam tempore sint odio,
            <br>
            corrupti ipsa. Harum, inventore.
        </footer>
        <div id="cd-top">
            <img src="./img/f.png" alt="">
        </div>
    </main>

    <script src="./js/main.js"></script>
</body>

</html>